<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/taglibs.jsp"%>
<%@ include file="/categorys.jsp"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<div id="${m.yixunName}" ></div>
<script type="text/javascript">
	var _risk_all_right = _risk_all_right||{status:true};
	_risk_all_right['${m.yixunName}'] = {};
	<shiro:hasPermission name="/${m.baseModelName}/${m.yixunName}/add">
	_risk_all_right['${m.yixunName}']["add"]=true;
	</shiro:hasPermission>
	<shiro:hasPermission name="/${m.baseModelName}/${m.yixunName}/edit">
	_risk_all_right['${m.yixunName}']["edit"]=true;
	</shiro:hasPermission>
	<shiro:hasPermission name="/${m.baseModelName}/${m.yixunName}/del">
	_risk_all_right['${m.yixunName}']["del"]=true;
	</shiro:hasPermission>
	var ${m.yixunName} = new yixun.gridPanel(${m.yixunConfig});
	${m.yixunName}.doSel(${m.yixunName});
</script>